<?php if($type == JobType::Query): ?>
	<?php echo $this->renderPartial('_queryform', array('model'=>$model)); ?>
<?php elseif($type == JobType::Transfer): ?>
	<?php echo $this->renderPartial('_transferform', array('model'=>$model)); ?>
<?php elseif($type == JobType::Compute): ?>
	<?php echo $this->renderPartial('_computeform', array('model'=>$model)); ?>
<?php endif?>